<include file="public:header"/>

<div class="toptit">订单信息</div>
<div class="form_main width120">
    <div class="fl">付款状态:</div>
    <div class="fr txt">
        <if condition="$order['is_paid'] eq 1">
            <span style="color: #FF6600">待付款</span>
        </if>
        <if condition="$order['is_paid'] eq 2">
            <span style="color: #009900">已完成</span>
        </if>
        <if condition="$order['is_paid'] eq 3">
            <span style="color: #999">已取消</span>
        </if>
    </div>
    <div class="fl">申请充值会员:</div>
    <div class="fr txt">{$order['username']}</div>
    <div class="fl">订单金额:</div>
    <div class="fr txt">￥<span style="color:#0033CC; font-size:18px;">{$order['amount']}</span> 元</div>
    <div class="fl">应付金额:</div>
    <div class="fr txt">
        <if condition="$order['pay_type'] eq 1">
            <span style="color:#0033CC; font-size:18px;">{$order['pay_points']}</span> {:C('qscms_points_byname')}
            <elseif condition="$order['pay_type'] eq 2" />
            ￥<span style="color:#0033CC; font-size:18px;">{$order['pay_amount']}</span> 元
            <else />
            ￥<span style="color:#0033CC; font-size:18px;">{$order['pay_amount']}</span> 元 + <span style="color:#0033CC; font-size:18px;">{$order['pay_points']}</span> {:C('qscms_points_byname')}
        </if>
    </div>
    <div class="fl">订单描述:</div>
    <div class="fr txt">{$order['description']}</div>
    <div class="fl">支付方式:</div>
    <div class="fr txt">{$order['payment_cn']}</div>
    <div class="fl">订单号:</div>
    <div class="fr txt">{$order['oid']}</div>
    <div class="fl">申请时间:</div>
    <div class="fr txt">{$order['addtime']|date="Y-m-d H:i:s",###}</div>
    <div class="fl">付款时间:</div>
    <div class="fr txt">{$order['payment_time']|date="Y-m-d H:i:s",###}</div>
    <div class="fl">备注:</div>
    <div class="fr txt">{$order['notes']}&nbsp;</div>
    <div class="clear"></div>
</div>

<div class="toptit">发票信息</div>
<div class="form_main width120">
    <form action="{:U('edit')}" method="post" name="FormData" id="FormData">
        <div class="fl">发票内容:</div>
        <div class="fr txt">{$info.cate_cn|default='-'}</div>
        <div class="fl">发票抬头:</div>
        <div class="fr txt">
            <if condition="$info['title'] eq 1">单位<else/>个人</if>
        </div>
        <div class="fl">单位名称:</div>
        <div class="fr txt">{$info.organization|default='-'}</div>
        <div class="fl">税号:</div>
        <div class="fr txt">{$info.tax_number|default='-'}</div>
        <div class="fl">收件人:</div>
        <div class="fr txt">{$info.addressee}</div>
        <div class="fl">手机号:</div>
        <div class="fr txt">{$info.mobile}</div>
        <div class="fl">邮寄地址:</div>
        <div class="fr txt">{$info.address}</div>
        <div class="fl">邮编:</div>
        <div class="fr txt">{$info.postcode}</div>
        <div class="fl">处理状态:</div>
        <div class="fr">
            <div class="imgradio">
                <input name="audit" type="hidden" value="{$info['audit']}">
                <div class="radio <eq name='info.audit' value='1'>select</eq>" data="1" title="已处理">已处理</div>
                <div class="radio <eq name='info.audit' value='0'>select</eq>" data="0" title="未处理">未处理</div>
                <div class="clear"></div>
            </div>
        </div>
        <div class="fl"></div>
        <div class="fr">
            <input type="hidden" name="order_id"  value="{$info['order_id']}" />
            <input type="submit" class="admin_submit" value="保存"/>
            <input type="button" class="admin_submit" value="返回" onClick="history.go(-1)"/>
        </div>
        <div class="clear"></div>
    </form>

</div>
<include file="public:footer"/>
</body>
<script type="text/javascript">
    $(document).ready(function () {
    });
</script>
</html>